<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
  <head>
    <meta>
    <title>注册页面</title>
    <script src="js/regcheckdata.js"></script>
   
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <!-- Loading Bootstrap -->
    <link href="${pageContext.request.contextPath }/css/bootstrap.css" rel="stylesheet">

    <!-- Loading Flat UI -->
    <link href="css/flat-ui.css" rel="stylesheet">

    <link rel="shortcut icon" href="images/favicon.ico">

   
  </head>
  <body>
  <form  action="registerSuccess.action" method="post" name = "myform" onsubmit="checkdata()">
    <div style="background:#ddd;border-radius:0.6em;width:600px;height:600px;margin:5% auto;" class="container">
    	
    	
	  	
    		<div style="margin-top:5%;width:400px;" class="form-group">
			<input id="account" name="account" type="text" class="form-control" placeholder="account" onkeypress="EnterPress(event)" onblur="checkUserName(this.value.toLowerCase())"/>
			<span class="input-icon fui-check-inverted"></span> 
			<span id="userNameERR"><font color="#ddd" font size='2px'>站位字符</font></span> 
			</div>
			
	  	
		<div style="width:400px;" class="form-group">
			<input id="PSW" name="pwd" type="password" class="form-control" placeholder="password" onkeypress="EnterPress(event)" onclick="checkUserName2()" onblur="checkPSW(this.value)"/>
			<span class="input-icon login-field-icon fui-lock"></span>
			<span id="userPSWERR"><font color="#ddd" font size='2px'>站位字符</font></span> 
			</div>
		
		
		<p><div style="width:400px;" class="form-group">
			<input id="confirmPSW" name="confirmPSW" type="password" class="form-control" placeholder="confirm password" onkeypress="EnterPress(event)" onblur="checkConfirmPSW(this.value)"/>
			<span class="input-icon fui-check-inverted"></span>
			<span id="userConfirmPSWERR"><font color="#ddd" font size='2px'>站位字符</font></span> 
			</div>
		</p>
		
		<p><div style="width:400px;" class="form-group">
			<input id="name" name="name" type="text" class="form-control" placeholder="username" onkeypress="EnterPress(event)" onblur="checkName(this.value)"/>
			<span class="input-icon login-field-icon fui-user"></span>
			<span id="nameERR"><font color="#ddd" font size='2px'>站位字符</font></span> 
			</div>
	  	</p>
		
		<p><div style="width:400px;" class="form-group">
			<input id="mobile" name="telNUmber" type="text" class="form-control" placeholder="telephone number" onkeypress="EnterPress(event)" onblur="checkMobile(this.value)"/>
			<span class="input-icon fui-check-inverted"></span>
			<span id="MobileERR"><font color="#ddd" font size='2px'>站位字符</font></span> 
			</div>
	  	</p>
	  	
	  	<p><div style="width:400px;" class="form-group">
			<input id="parkID" name="parkUUID" type="text" class="form-control" placeholder="parking lot ID" />
			<span class="input-icon fui-check-inverted"></span>
			<span id="MobileERR"><font color="#ddd" font size='2px'>站位字符</font></span> 
			</div>
	  	</p>
	 
		<p>
			<input style="border:none;border-radius:0.6em;background:#1ABC9C;color:white;font-size:20px;" type="submit" value="Regist Now"></p>
		</p>
    </div>
   </form>
    <!-- /.container -->


    <!-- Load JS here for greater good =============================-->
    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/jquery-ui-1.10.3.custom.min.js"></script>
    <script src="js/jquery.ui.touch-punch.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/bootstrap-select.js"></script>
    <script src="js/bootstrap-switch.js"></script>
    <script src="js/flatui-checkbox.js"></script>
    <script src="js/flatui-radio.js"></script>
    <script src="js/jquery.tagsinput.js"></script>
    <script src="js/jquery.placeholder.js"></script>
  </body>
</html>
